package com.ruoyi.gxs.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 扣分子类型对象 gxs_subtype
 * 
 * @author 高晓松
 * @date 2023-12-27
 */
public class GxsSubtype extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 子类型id */
    private Long gxsSubtypeId;

    /** 父类型id */
    @Excel(name = "父类型id")
    private Long gxsParenttypeId;

    /** 子类型名称 */
    @Excel(name = "子类型名称")
    private String gxsSubtypeName;

    /** 扣除分数 */
    @Excel(name = "扣除分数")
    private Long gxsDeduction;

    private GxsParenttype gxsParenttype;

    public GxsParenttype getGxsParenttype() {
        return gxsParenttype;
    }

    public void setGxsParenttype(GxsParenttype gxsParenttype) {
        this.gxsParenttype = gxsParenttype;
    }

    public void setGxsSubtypeId(Long gxsSubtypeId)
    {
        this.gxsSubtypeId = gxsSubtypeId;
    }

    public Long getGxsSubtypeId() 
    {
        return gxsSubtypeId;
    }
    public void setGxsParenttypeId(Long gxsParenttypeId) 
    {
        this.gxsParenttypeId = gxsParenttypeId;
    }

    public Long getGxsParenttypeId() 
    {
        return gxsParenttypeId;
    }
    public void setGxsSubtypeName(String gxsSubtypeName) 
    {
        this.gxsSubtypeName = gxsSubtypeName;
    }

    public String getGxsSubtypeName() 
    {
        return gxsSubtypeName;
    }
    public void setGxsDeduction(Long gxsDeduction) 
    {
        this.gxsDeduction = gxsDeduction;
    }

    public Long getGxsDeduction() 
    {
        return gxsDeduction;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("gxsSubtypeId", getGxsSubtypeId())
            .append("gxsParenttypeId", getGxsParenttypeId())
            .append("gxsSubtypeName", getGxsSubtypeName())
            .append("gxsDeduction", getGxsDeduction())
            .append("getGxsParenttype", getGxsSubtypeName())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
